package cn.weixin.bussiness.dao;

import org.springframework.stereotype.Repository;
import cn.weixin.bussiness.dao.base.BaseDao;
import cn.weixin.bussiness.model.User;

@Repository
public class UserDao extends BaseDao<User, Integer>{
	public void deleteByOpenid(String openid){
		String hql = "delete from User where openid=?";
		excuteHqlUpdate(hql,openid);
	}
}
